﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="ViewUserControl<AgileBoard.Core.Iteration>" %>

<div class="interation">
    <% foreach (var state in Model.States){ %>
    <div class="state">
        <center><%= state.Label %></center>
        <input id="stateId" type="hidden" value="<%= state.Id %>" />
        <br />
        <% foreach (var story in state.Stories){ %>
            <div class="story">
                <input id="storyId" type="hidden" value="<%= story.Id %>" />
                <div class="story-header"><%= story.Name %></div>
                <div class="story-content"><%= story.Observation %></div>
            </div>
        <%} %>
    </div>
    <%} %>
</div>
